package com.glory.hikvisionmobile.base;

import android.app.Application;
import android.content.Context;

import com.pda.platform.ui.ui_pdaplatform.base.FreeUI_InitUtils;
import com.pda.platform.ui.ui_pdaplatform.utils_public.FreeApi_StaticMembers;


public class App extends Application {
    public static Context app;
    private static App instance;

    public static App getInstance() {
        return instance;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;
        app = getApplicationContext();
        FreeUI_InitUtils.init(getApplicationContext(), this, false);
        FreeUI_InitUtils.setTheme(FreeApi_StaticMembers.THEME_GLORY);
    }
}
